Xbasic

OBJECT.FIELD_GET Function

Syntax

.Field_Get()

Description

Returns a pointer to the table field bound to the control.

Discussion

The <OBJECT>.FIELD_GET() method applies to:

Form Controls (for <OBJECT> use the <CONTROL> pointer or the address of the control)

The <OBJECT>.FIELD_GET() method returns a pointer to the table field that is bound to the control.

Example

dim frm as P
dim fld as P
dim tblfld as P
frm = form.load("Customer Information")
fld = frm.child("Lastname")
tblfld = fld.Field_Get()
? tblfld.fullname_get()  -> "CUSTOMER->LASTNAME"

Limitations

Desktop applications only.

See Also